//
//  SpecialCollectionCell.m
//  Lovelife
//
//  Created by apple on 15/4/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SpecialCollectionCell.h"
#import "NightManager.h"

@implementation SpecialCollectionCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self) {
        
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 350, 150)];
        
        view.backgroundColor = [UIColor whiteColor];
        
        [self.contentView addSubview:view];
        
        [view release];
        
        self.thumb = [[UIImageView alloc]initWithFrame:CGRectMake(5, 5, 340, 130)];
        
        [view addSubview:self.thumb];
        
        [_thumb release];
        
        self.titleLB = [[BaseLabel alloc]initWithFrame:CGRectMake(5, 115, 340, 20)];
        
        [view addSubview:self.titleLB];
        
        [_titleLB release];
        
        
    }
    return self;


}

-(void)setNightDayModel
{
    [NightManager setLabelColorWithLabel:self.titleLB];
    [NightManager setBackgroundColorWithView:self];
}

-(void)setLightDayModel
{
    [NightManager setBackgroundColorWithView:self];
    
    [NightManager setLabelColorWithLabel:self.titleLB];
    
}

@end
